<title>$SITE_NAME$ - $PAGE_NAME$</title>
<link type="text/css" rel="StyleSheet" href="http://src.ucoz.net/src/css/984.css" />
</head>
<table id="main" align="center">
 <tr>
 <td id="tlbr">
 <table width="1200" >
 <tr>
 <td valign="top"><a href="/index.php">
</td>
 <td align="right" class="slink" style="padding-right: 11px;">
 </td>


<body style="background:url('img/1.gif') #000000; margin:0px; padding:0px;">

<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr><td align="right" width="5%" style="background:url('img/4.jpg') right repeat-y;"><img src="img/4.jpg" border="0"></td>
<td width="90%" valign="top" style="border-bottom:1px solid #000000;">

<!-- Header -->
<table border="0" cellpadding="2" cellspacing="0" width="100%" height="250" style="border-bottom:1px solid #494949;">
<tr><td style="background:url('img/1.jpg') no-repeat;padding-left:400px;"><span style="color:#FFFFFF;font:16pt bold Verdana,Tahoma;"></span></td></tr>
</table>
<table cellpadding="0" cellspacing="0" border="0" width="100%" height="32" style="border:1px solid #262626;background:url('img/3.jpg');">
 <tr>
 <td width="50%" align="left" style="font-size:11px;padding-left:11px;"><a href="$HOME_PAGE_LINK$" title="Site home">Site home</a><?if($USERS_ON$)?><?if($USER_LOGGED_IN$)?> | <a href="$PERSONAL_PAGE_LINK$" title="Profile page">Profile page</a><?else?> | <a href="$REGISTER_LINK$" title="Register now">Register now</a><?endif?><?endif?> <?if($USERS_ON$)?><?if($USER_LOGGED_IN$)?> | <a href="$LOGOUT_LINK$" title="Log out">Log out</a><?else?> | <a href="$LOGIN_LINK$" title="Log in">Log in</a><?endif?><?endif?></td>
 <td width="50%" align="right" style="font-size:11px;padding-right:11px;"><?if($USERS_ON$)?><?if($USER_LOGGED_IN$)?>You logged in as <a href="$PERSONAL_PAGE_LINK$" title="Profile page"><b>$USERNAME$</b></a> | Group "<u>$USER_GROUP$</u>"<?else?>Hello <b>$USERNAME$</b><?endif?><?endif?> {IF}| <a href="[RSS_URL]" title="RSS">RSS</a>{ENDIF}</td>
 </tr>
</table>
<!-- /Header -->

<table cellpadding="0" cellspacing="0" border="0" width="100%" style="border-top:1px solid #494949;border-bottom:1px solid #494949;"><tr><td valign="top" style="border:1px solid #1A1A1A;background:#00000;">

<!-- Body -->
<table border="0" cellpadding="0" cellspacing="2" width="100%">
<tr>
<td valign="top" style="width:180px;">

<!-- -->
<table border="0" cellpadding="0" cellspacing="0"  width="180">
<tr><td height="36" style="background:url('img/2_01.gif') #252525;color:#ffffff;padding-left:30px;font-size:11px;"><b>Site Menu</b></td></tr>
<tr><td background="img/2_02.gif">$SITE_MENU$</td></tr>

</table>
<!--/-->

<!-- -->
{IF}
<table border="0" cellpadding="0" cellspacing="0"  width="180">
<tr><td height="36" style="background:url('img/2_01.gif') #252525;color:#ffffff;padding-left:30px;font-size:11px;"><b>[CATS_TITLE]</b></td></tr>
<tr><td background="img/2_02.gif">[CATEGORIES]</td></tr>

</table>
{ENDIF}
<!--/-->

<!-- -->
 
<?if($CHAT_BOX$)?>
<table border="0" cellpadding="0" cellspacing="0"  width="180">
<tr><td height="36" style="background:url('img/2_01.gif') #252525;color:#ffffff;padding-left:30px;font-size:11px;"><b>Chat box</b></td></tr>
<tr><td background="img/2_02.gif">$CHAT_BOX$</td></tr>

</table>
<?endif?>

<?if($POLL$)?>
<table border="0" cellpadding="0" cellspacing="0"  width="180">
<tr><td height="36" style="background:url('img/2_01.gif') #252525;color:#ffffff;padding-left:30px;font-size:11px;"><b>Site Poll</b></td></tr>
<tr><td background="img/2_02.gif">$POLL$</td></tr>

</table>
<?endif?>
<!--/-->

</td>

<td valign="top">
<table border="0" cellpadding="0" cellspacing="0" width="100%" style="border:1px solid #;"><tr><td style="background:#;padding:11px;border:1px solid #;">[BODY]</td></tr></table>
</td>

<td valign="top" style="width:180px;">

<!-- -->
<?if($LOGIN_FORM$)?>
<table border="0" cellpadding="0" cellspacing="0"  width="180">
<tr><td height="36" style="background:url('img/2_01.gif') #252525;color:#ffffff;padding-left:30px;font-size:11px;"><b>Login Form</b></td></tr>
<tr><td background="img/2_02.gif">
<body>
<img src="http://i151.photobucket.com/albums/s126/juranx/key.png">
</body>
$LOGIN_FORM$</td></tr>

</table>
<?endif?>
<!--/-->

<!-- -->
{IF}
<table border="0" cellpadding="0" cellspacing="0"  width="180">
<tr><td height="36" style="background:url('img/2_01.gif') #252525;color:#ffffff;padding-left:30px;font-size:11px;"><b>[CALENDAR_TITLE]</b></td></tr>
<tr><td background="img/2_02.gif">[CALENDAR]</td></tr>

</table>
{ENDIF}
<!--/-->

<!-- -->
{IF}
<table border="0" cellpadding="0" cellspacing="0"  width="180">
<tr><td height="36" style="background:url('img/2_01.gif') #252525;color:#ffffff;padding-left:30px;font-size:11px;"><b>[SEARCH_TITLE]</b></td></tr>
<tr><td background="img/2_02.gif">[SEARCH_FORM]</td></tr>

</table>
{ENDIF}
<!--/-->


<!-- -->
<table border="0" cellpadding="0" cellspacing="0"  width="180">
<tr><td height="36" style="background:url('img/2_01.gif') #252525;color:#ffffff;padding-left:30px;font-size:11px;"><b>About You</b></td></tr>
<tr><td background="img/2_02.gif"><div align="center"><strong>Sveiks: $USERNAME$</strong>
<br>
<?if($USER_AVATAR_URL$)?><img class="userAvatar" title="$USERNAME$" src="$USER_AVATAR_URL$" border="0"><?else?><?if($USER_LOGGED_IN$)?><img class="userAvatar" title="$USERNAME$" src="http://i029.radikal.ru/0804/cb/8cc27a1c0e73.gif" border="0"><?else?><img class="userAvatar" title="$USERNAME$" src="http://i021.radikal.ru/0804/53/f5b4265aa726.gif" border="0"><?endif?><?endif?>

<?if($USER_LOGGED_IN$)?>
<br>Vards: $USER_FULL_NAME$
<br>Esi registrejies : <font color="#FF0000"><b>$USER_REG_DAYS$</b></font>-dienas
<br><a href="javascript:openOnClick('users')">Lietotaju saraksts</a>
<br><a href="javascript:openOnClick('options')">Profils</a>
<br><a href="javascript:openOnClick('rules')">Noteikumi</a>
<br><a href="javascript:openOnClick('send')">Nosutit PM</a>
<br><a id="upml2" href="javascript:openOnClick('mail')">Lasit PM (<b>$UNREAD_PM$</b>)</a>

<?if($IS_NEW_PM$)?><script type="text/javascript">function flashit(id,cl){var c=document.getElementById(id);if (c.style.color=='red'){c.style.color=cl;}else {c.style.color='red';}}setInterval("flashit('upml2','')",500)</script><?endif?>

<script language=javascript type=text/javascript>
function openOnClick(client_type)
{
if(client_type=="mail")clientWindow = window.open("$PM_URL$","pmw","scrollbars=1,top=0,left=0,resizable=1,width=850,height=350") || alert("   !"); 
if(client_type=="send")clientWindow = window.open("/index/14-999-0-1","pms","scrollbars=1,top=0,left=0,resizable=1,width=850,height=350") || alert("   !"); 
if(client_type=="options")clientWindow = window.open("/index/11","options","scrollbars=1,top=0,left=0,resizable=1,width=680,height=350") || alert("   !"); 
if(client_type=="users")clientWindow = window.open("$USERS_LIST_URL$","users","scrollbars=1,top=0,left=0,resizable=1,width=680,height=350") || alert("   !"); 
if(client_type=="rules")clientWindow = window.open("/rules.html","rules","scrollbars=1,top=0,left=0,resizable=1,width=680,height=350") || alert("   !"); 
}
</script>
<?else?>
<br>,    .    !
<?endif?></div></td></tr>

</table>
<!--/-->

<!-- -->
<?if($COUNTER$ || $ONLINE_COUNTER$)?>
<table border="0" cellpadding="0" cellspacing="0"  width="180">
<tr><td height="36" style="background:url('img/2_01.gif') #252525;color:#ffffff;padding-left:30px;font-size:11px;"><b>Site Statistics</b></td></tr>
<tr><td background="img/2_02.gif">$COUNTER$<?if($ONLINE_COUNTER$)?><hr />$ONLINE_COUNTER$$ONLINE_USERS_LIST$<?endif?></td></tr>

</table>
<?endif?>
<!--/-->

</td>
</tr>
</table>
<!-- /Body -->
</td></tr></table>

<!-- Footer -->
<table border="0" cellpadding="6" cellspacing="0" width="100%">
<tr><td align="center">Design by Sajjuk</td></tr>
<tr><td align="center">  </td></tr>
<tr><td align="center"><!-- // <div style="visibility:hidden;">$POWERED_BY$</div> // --></td></tr>
</table>
<!-- /Footer -->
</td>
<td align="left" width="5%" style="background:url('img/4.jpg') left repeat-y;"><img src="img/4.jpg" border="0"></td>
</td></tr></table>

</body>

</html>

<!-- PopUp -->
<table cellpadding="0" cellspacing="0" border="0" width="100%" height="30" style="border:1px solid #000000;background:url('img/3.jpg');">
<tr><td align="center" style="font-size:11px;padding-left:11px;"><b>[TITLE]</b></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%" style="border:1px solid #000000;"><tr><td style="background:#000000;padding:11px;border:1px solid #000000;">[BODY]</td></tr></table>
<!-- /PopUp -->